[ Home ] [ Introduction ] [ Overview ] [ Platform Notes ] [ Reference ] [ History ]
GmAddStaticFrame
Adds a static frame window group to the geometry manager.
HGMGROUP
GmAddStaticFrame( |
|
HGEOM |
hGeom, |
Geometry manager handle |
|
HGMGROUP |
hParent, |
Parent group handle |
|
HWND |
hWnd, |
Window handle of a static frame control |
|
DWORD |
dwFlags, |
Flags specifying how to size and arrange this
group and it’s children |
|
WORD |
wWeight); |
Relative weight of this group |
dwFlags
Horizontal Alignment (pick one)
GM_LEFT |
Align this group to the left |
GM_HCENTER |
Center this group horizontally |
GM_RIGHT |
Align this group to the right |
GM_GROW_X |
Resize this group to fill the horizontal space |
Vertical Alignment (pick one)
GM_TOP |
Align this group to the top |
GM_VCENTER |
Center this group vertically |
GM_BOTTOM |
Align this group to the bottom |
GM_GROW_Y |
Resize this group to fill the vertical space |
Arrangment of Children (pick one)
GM_HORIZONTAL |
Children are arranged horizontally as they are
added, from left to right |
GM_VERTICAL |
Children are arranged vertically as they are
added, from top to bottom |
GM_OVERLAPPED |
Children are overlapped |
Returns
Returns a handle to the group just added.
Notes
- Static frame window groups have inside margins that place children inside
the frame.
[ Home ] [ Introduction ] [ Overview ] [ Platform Notes ] [ Reference ] [ History ]
|